[Unit]
Description=IPMI Exporter
Wants=network-online.target
After=network-online.target

[Service]
User=root
Group=root
Type=simple
ExecStart={{ ipmi_exporter_dir }}/ipmi_exporter/ipmi_exporter                   \
            --config.file={{ ipmi_exporter_dir }}/ipmi_exporter/ipmi_local.yml  \
            --web.listen-address=:{{ ipmi_exporter_port }}
Restart=on-failure
RestartSec=30s
ExecReload=/bin/kill -HUP $MAINPID 

[Install]
WantedBy=multi-user.target